package ooday01;

public class CarTest {
    public static void main(String[] args) {
        Car bm = new Car();
        bm.brand="宝马";
        bm.coler="白";
        bm.price=600000;
        bm.capacity=5;
        bm.start();
        bm.run();
        bm.stop();

        Car bc=new Car();
        bc.brand= "奔驰";
        bc.coler="黑";
        bc.price=1000000;
        bc.capacity=5;
        bc.start();
        bc.run();
        bc.stop();

        Car ad=new Car();
        ad.start();
        ad.run();
        ad.stop();
    }
}
